package util

import (
	"fmt"
	"math/rand"
	"time"
)

func GenOrderNumber() string {
	rand.Seed(time.Now().UnixNano())
	max := 99999
	min := 10000
	return fmt.Sprintf("O%s%d", time.Now().Format("20060102150405"), rand.Intn(max-min+1)+min)
}
